﻿using System.Windows;
using System.Windows.Controls;
using QDP.Platform.Silverlight;

namespace Demos
{
    public partial class Demo0002 : UserControl
    {
        public Demo0002()
        {
            InitializeComponent();
        }
        Demo0002 sample;
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            if (sample == null)
                sample = new Demo0002();
            ChildWidget.Show(sample,Dock:WidgetDock.Right);
        }
    }
}
